package com.citi.infocambio.siscomex.client.parser;

public class GoodsHTMLParser extends BaseHTMLParser {
	
	private static final String XSL = "com/citi/infocambio/siscomex/client/xsl/goods.xsl";

	public GoodsHTMLParser(String html) {
		super(html, XSL);	
	}

	@Override
	protected String[] getStringsToRemove() {
		return new String[] {"&nbsp;"};
	}

	@Override
	protected CropDef[] getCrops() {
		return new CropDef[] {
			new CropDef("<div id=\"mercadoria\">", "</div>")	
		};
	}

	@Override
	protected String[] getUnbalancedInputs() {
		return new String[] {"codigoMercadoria", "descricaoNcmMercadoria", "descricaoMercadoria", "dtValidadeEmbarque", "prazoPagamento", "itemMercadoria",
				"pcComissaoAgente", "vlComissaoAgente"};
	}

}
